\section{sdo.\+c File Reference}
\label{sdo_8c}\index{sdo.\+c@{sdo.\+c}}


C\+A\+Nopen S\+DO functions.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ ec\+\_\+sdo\+\_\+init} (\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$sdo, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$slave, uint16\+\_\+t index)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+sdo\+\_\+clear} (\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$sdo)
\begin{DoxyCompactList}\small\item\em S\+DO destructor. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t} $\ast$ \textbf{ ec\+\_\+sdo\+\_\+get\+\_\+entry} (\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$sdo, uint8\+\_\+t subindex)
\begin{DoxyCompactList}\small\item\em Get an S\+DO entry from an S\+DO via its subindex. \end{DoxyCompactList}\item 
const \textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t} $\ast$ \textbf{ ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const} (const \textbf{ ec\+\_\+sdo\+\_\+t} $\ast$sdo, uint8\+\_\+t subindex)
\begin{DoxyCompactList}\small\item\em Get an S\+DO entry from an S\+DO via its subindex. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
C\+A\+Nopen S\+DO functions. 



\subsection{Function Documentation}
\mbox{\label{sdo_8c_a15cf95f0a90b02eea2cb78638fca60ef}} 
\index{sdo.\+c@{sdo.\+c}!ec\+\_\+sdo\+\_\+init@{ec\+\_\+sdo\+\_\+init}}
\index{ec\+\_\+sdo\+\_\+init@{ec\+\_\+sdo\+\_\+init}!sdo.\+c@{sdo.\+c}}
\subsubsection{ec\+\_\+sdo\+\_\+init()}
{\footnotesize\ttfamily void ec\+\_\+sdo\+\_\+init (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$}]{sdo,  }\item[{\textbf{ ec\+\_\+slave\+\_\+t} $\ast$}]{slave,  }\item[{uint16\+\_\+t}]{index }\end{DoxyParamCaption})}



Constructor. 


\begin{DoxyParams}{Parameters}
{\em sdo} & S\+DO. \\
\hline
{\em slave} & Parent slave. \\
\hline
{\em index} & S\+DO index. \\
\hline
\end{DoxyParams}


Definition at line 47 of file sdo.\+c.

\mbox{\label{sdo_8c_aca357ab1de36e046e6255172760de6cb}} 
\index{sdo.\+c@{sdo.\+c}!ec\+\_\+sdo\+\_\+clear@{ec\+\_\+sdo\+\_\+clear}}
\index{ec\+\_\+sdo\+\_\+clear@{ec\+\_\+sdo\+\_\+clear}!sdo.\+c@{sdo.\+c}}
\subsubsection{ec\+\_\+sdo\+\_\+clear()}
{\footnotesize\ttfamily void ec\+\_\+sdo\+\_\+clear (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$}]{sdo }\end{DoxyParamCaption})}



S\+DO destructor. 

Clears and frees an S\+DO object. 
\begin{DoxyParams}{Parameters}
{\em sdo} & S\+DO. \\
\hline
\end{DoxyParams}


Definition at line 67 of file sdo.\+c.

\mbox{\label{sdo_8c_af352865e2d5558a9df73336a386e6936}} 
\index{sdo.\+c@{sdo.\+c}!ec\+\_\+sdo\+\_\+get\+\_\+entry@{ec\+\_\+sdo\+\_\+get\+\_\+entry}}
\index{ec\+\_\+sdo\+\_\+get\+\_\+entry@{ec\+\_\+sdo\+\_\+get\+\_\+entry}!sdo.\+c@{sdo.\+c}}
\subsubsection{ec\+\_\+sdo\+\_\+get\+\_\+entry()}
{\footnotesize\ttfamily \textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t}$\ast$ ec\+\_\+sdo\+\_\+get\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+sdo\+\_\+t} $\ast$}]{sdo,  }\item[{uint8\+\_\+t}]{subindex }\end{DoxyParamCaption})}



Get an S\+DO entry from an S\+DO via its subindex. 


\begin{DoxyRetVals}{Return values}
{\em $>$0} & Pointer to the requested S\+DO entry. \\
\hline
{\em N\+U\+LL} & S\+DO entry not found. \\
\hline
\end{DoxyRetVals}

\begin{DoxyParams}{Parameters}
{\em sdo} & S\+DO. \\
\hline
{\em subindex} & Entry subindex. \\
\hline
\end{DoxyParams}


Definition at line 91 of file sdo.\+c.

\mbox{\label{sdo_8c_a00027bedf282c987d166215fed28de72}} 
\index{sdo.\+c@{sdo.\+c}!ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const@{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const}}
\index{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const@{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const}!sdo.\+c@{sdo.\+c}}
\subsubsection{ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const()}
{\footnotesize\ttfamily const \textbf{ ec\+\_\+sdo\+\_\+entry\+\_\+t}$\ast$ ec\+\_\+sdo\+\_\+get\+\_\+entry\+\_\+const (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+sdo\+\_\+t} $\ast$}]{sdo,  }\item[{uint8\+\_\+t}]{subindex }\end{DoxyParamCaption})}



Get an S\+DO entry from an S\+DO via its subindex. 

const version.


\begin{DoxyRetVals}{Return values}
{\em $>$0} & Pointer to the requested S\+DO entry. \\
\hline
{\em N\+U\+LL} & S\+DO entry not found. \\
\hline
\end{DoxyRetVals}

\begin{DoxyParams}{Parameters}
{\em sdo} & S\+DO. \\
\hline
{\em subindex} & Entry subindex. \\
\hline
\end{DoxyParams}


Definition at line 116 of file sdo.\+c.

